package com.client.service;

import com.client.dbdao.MenuClientDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 分类管理
 *
 * @author:HingLo
 * @create 2017-10-11 13:49
 **/
@Service
public class MenuClientService {
    @Autowired
    private MenuClientDao menuClientDao;


    public List<?> findMenuClientService(Integer type) {
        return menuClientDao.findMenuClientDao(type);
    }

    public List<?> findMenuTwoClientService(String id) {
        id = id.trim();
        return menuClientDao.findMenuTwoClientDao(id);
    }

    public List<?> findMenuSoftwareAction(String id, int start, int end) {
        id = id.trim();
        return menuClientDao.findMenuSoftwareDao(id, start, end);
    }
}
